Starting low level optimization algorithm.