Dichotomic method for solving the knapsack problem. Solid memory for save sets