Naive algorithm for adaptive time stemp