Bound circles within surface

i have made a random pattern out of circles over a square panel
the circles are currently on the intersection of the grid.

Id like them to be bound within the grid.

Thank you!

1.3dm (30.9 KB) (10.7 KB)

It’s not really clear to me what you mean. Is this what you’re after? If not, you have to be more specific. (13.7 KB)