Fixed running time specification for Knapsack DP algorithm.