Revert "Completely deterministic DP"

This reverts commit be083ab74a539eacf6506e87e33e72f95d704223.