Fixing issue of changing fixed time by the algorithm.