A bin packing algorithm for steel production