Corporate Contract Risk Optimization