A bin packing problem