Optimizes turning state