To use smaller items for edges, as Thomas mentioned, there are several possible setup options - for example, you can also use the bundled effect 'Change items by distance to boundary'. If any gaps appear, you can quickly fix them by adjusting the Distribution Map settings, specifically the Density or Offset X/Y values. This should resolve the issue, as shown in the attached screenshots.
I hope that helps.
Best regards,