process all balances on debit (own+shared)
removed superflous if