Fixed our algorithm. Knapsack related problem (previously have ignored the 0-th user)