adding integer knapsack