mark: checking in the attempts to optimise knapsack