Intermediate stage of the optimization works.