3D bin packing / knapsack problem solver