Corrected the BuildMovementMap method on MovementMap class.