Compare Volume Lists

Hi my objective is to simplify a voronoi cell into orthogonal shapes and i have divided each voronoi cell’s bounding box into 4x4x4 boxes, and subsequently, solid intersection these 64 boxes with the voronoi cells. How do i form a cull pattern to only keep those boxes that are of equal volume. like trying to pixelate the voronoi cells?2.gh (31.6 KB)
2.3dm (2.7 MB)