There is a limit to how close you can place them. The game should simply deny you placement if its too close.

Mods can of course change this…