Wall boundries are now calculated only once instead of every frame.