inquery max extended leaf