add auto compute steps functions
auto compute steps example