use time leftover from previous frame