For non-looping setups, `bit` must be calculated from total number of frames reduced by 1. Otherwise the `fraction` 1.0 would leak into next cycle and in effect cause unwanted looping described in #244.