Functional restructuring of CAD models for FEA purposes