Fix c550139c8bd89e71348ffd932ae423313a6bb95e
Factor: improve factor multiplication

Pass the argument as reference-to-const and also allow chaining of multiplications.