Fixed formula for middleFloor
Refactoring for the go in direction