Change ticks to delta