Comments

As far as I understand it, the money lost in the additional transfers from Ai to Aj, and then Aj to the final bank, is equal to what would have been left as residue in both Ai and Aj if they went straight to the final bank.