Spheres Won't distribute evenly

Hi please help with the attached, trying to get points to uniformly distribute within a volume, I had some older sample files and I thought I recreated it exactly but mine doesn’t work, spheres are laying on top of each other and are not distributed through the mesh volume, any help appreciated, thanks!


kangaroo-sphere-collide.gh (21.3 KB)

I changed the way to get points and it works


And it works with your solution if you remove duplicates

kangaroo-sphere-collide.gh (21.8 KB)

SWEET! Thanks!