Packing spheres in volume of shape

Hi Daniel, I’m struggling to use this with different spheres radius, Can i get some help? thanks