Just a thought: for overflow to happen, the actual accumulation-value should be above the maximum that a variable can hold: so simply inverting the negative values should only cause a reduced income, which is already a common result of offlining.