Cure process design to manufacture composite components with variable thickness by a closed die technology