Structural Optimization for Automated Fiber Placement