Problem gathering all closed curves using dispatch

Hello everyone!
I’m working on a design and I’m experimenting the use of Voronoi 3D on a geometry.
The idea is to remove the open curves on the edge of the object and only keep the inner closed curves. But as results, some of curves inside of the geometry the should be closed, are being separated from the first volume.
I have attached files below, please tell me what I’m doing wrong.
1.27a.3dm (3.6 MB) 1.27b.gh (9.9 KB)


I have no clue where to go from here.

Best,

You need to change your rhino 3dm’s absolute tolerance to 0.001, and you don’t have to use mesh.


1.27a_re.3dm (377.1 KB)
1.27b_re.gh (171.7 KB)