horizontal bin packing partially working