add knapsack, modify rSum