vers. 1.0.0.7 - after knapsack problem