Better lastTime calculation.