math.binpack: faster by storing only items, not weights.