Rebased partialsum