Reset small dynamic program for every step in the big search