Added adaptive steps in the evolution parameter w.