Replacing floor and wall planes