Continue working on optimize routine.