commit and optimize tuning