Change threads to time ticks