Optimize the cross-section considering beam initial twist#