Removed points with no neighbors, use remaining as kangaroo anchors

Basically, I have a tetrahedral 3d checkerboard grid… I’m pulling certain clumps of cells from this grid and applying from kangaroo physics… what I’m have a hard time with is removing- from the collection of remaining cells- vertices/ points with no neighbors from other cells in a way that I can still use as anchor points with the kangaroo portion… Attaching a working file here with some of my past and current attempts. any direction/ help is appreciated

dispatchy.gh (70.2 KB)

Hi @Michaelrdicarlo

The definition is quite large and the inputs are not internalised.
I think people are more likely to be able to help if you can extract just the relevant part and post it with all the inputs included, and a clearer description of what this is for and exactly what you are trying to do.