Structural Optimization Of Flexible Components Within A Multibody Dynamics Approach