Introduce check that warns or stops the simulation if the two boundaries overlap.
Introduce check that warns or stops the simulation if the two boundaries overlap.