Started added adaptive parameter changing.