bin packing figs