removing a redundant output (rVal) from cumsum at all levels.