A Heuristic Solution of the Rectangular Cutting-Stock Problem