How is liquidation determined in Isolated Margin versus Cross Margin mode?

Updated