A universal program for optical design is presented in this paper. The idea of assessment function in DLS method has been introduced into the adaptive method,and a new fuality index has been suggested for it. A discussion is made regarding scaling focal length, optimization of stop distance and saving the time for OTF calculation.