Revised ElevatorAlgorithm