Packing a list of rectangles into a strip of fixed width and infinite height