Changed coordinate system for walls