removed +1 for philip's jitter frames calculation