Balancing of accounts in bankruptcy