CandC_thirdstep__opt