Simple implementation of automated STEP using C++ program