Optimization - Walls deletion

Noted a wall-deletion optimization made over at -tg. Tested locally and deletion definitely touches less walls.

Credit to @Aranclanos.