time jitter detect and correct, very simple algorithm