How do you fix static meshes from glitching when combined?

If the mesh is made properly and you use vertex snapping there won’t be any space.