Packages from knapsack