Topology optimization of stress-constrained structural elements using risk-factor approach