Change DP termination logic #2