require on fly macro
Knapsack Problem