Seller’s option for surplus length in lump-sum cloth?

Kitab al-Buyu: Shortage, Surplus, Buyer Options and Price Allocation