Make dynamic_knapsack