Stopped the iterative deepening once the remaining time is smaller than the time the last iteration took