Circle packing with fixed radius and fixed number of circle for each radius

Hi,do you have any ideas how to add a boundary circle to this script?

Thanks!
Marcin