multiply cumulative with given factor + minor bugs