Fixed sleep interval computation.