Spawning instanced static meshes in a box, without overlapping

Hello Forums.

Does anyone know the proper way to spawn a lot of instanced static meshes inside a box, without the meshes overlapping each other? Every time I try this they are overlapping. I have seen a few other methods online, but none seem to work.

(The ISM component is set to World Static and Block All)