Distributing the ball but getting spaces


slope3d.dat (4.6 KB)
Hello everyone,

I am trying to vary the ball according to slope height. The ball is distributed, but the space between them is created, as shown in the figure. Please tell me how to solve this issue.