smoothie knapsack approach