prevent duplicate walls

prevent adding duplicate wall segments