Collateral structuring optimization