Code Editor : optimize_stpg