multiplies cumsum and muls had some overflow pb in cover. Just changing loops to avoid undue cases
Merge pull request #861 from jtlap/more_int_overflow_pbs

multiplies cumsum and muls had some overflow pb in cover. Just changing ...