small optimisation to better sync ticks with system clock. Better solution v. likely possible