Refactor balancechanges so that all balances are positive