Structural Margin Allocation