pub const MAX_OFFER_PAGES: usize = 256;
The most pages one offer is carried in, so a whole offer (at most MAX_OFFER_PAGES * OFFER_PAGE_CAP addresses) is bounded too, not only each page.
MAX_OFFER_PAGES * OFFER_PAGE_CAP