Inventory Allocation with Consideration of Component Commonality and Risk Management