Bin packing implemented