stub work on CountStep and SideEffectCapOptimizer.