calculate the difference between the time-dep dists