I have this box: 420x420x260 And this item: 167x132x55 In another algorithm it tells me that there can be 29 items in the box (and it is actually true), but in this algorithm only 28.