Analysis and optimization of composite stringers