tweaks to step optimizer... we will probably get rid of step optimizer at some point in the near future.