reduce branching in single-pass versions and divide vector before multiplication in both single- and multipass