UrlBuilder: the estimated max encoded size is calculated accurately for the query-only mode.