clean targets
introduce a restart step variable to limit the program to original number of iterations upon restart