Payments of initial deposits should be distributed as an even percentage to everyone as they arrive. No account should receive an amount greater than (total deposits - total withdrawals) before everyone's initial deposit is returned.
That's not possible. Some accounts have already withdrawn more than the total principal deposited.