Can we extract dt/1000000 to a variable so we only calculate it once?