Fall back on DP algorithm