Added a toggle for wall tile optimization.