optimize option change and partial optimize level up