Dynamic Program Search Version 2.0