To illustrate, let’s say there are 1,000,000 $PUSD in the Stability Pool and a user's deposit in the pool 100,000 $PUSD. Now, a PiggyBank with debt of 200,000 $PUSD and collateral of 400 $BNB is liquidated at a $BNB price of $545, and thus at a collateral ratio of 100% * (400 * 545) / 200,000 = 109%. Given that the user's pool share is 10%, their deposit will go down by 10% of the liquidated debt (20,000 $PUSD), i.e. from 100,000 to 80,000 $PUSD. In return, they will gain 10% of the liquidated collateral, i.e. 40 $BNB, which worth $21,800 at the time of liquidation. The user's net gain from the liquidation is $1,800. On the other hand, the maximum loss for the liquidated PiggyBank will be 100%*10/110 = 9.09%.