def max_uncompact_size(compacted_set, resolution)
      h3_set = H3Indexes.with_contents(compacted_set)
      size = Bindings::Private.max_uncompact_size(h3_set, compacted_set.size, resolution)
      raise(ArgumentError, "Couldn't estimate size. Invalid resolution?") if size.negative?
      size
    end
def max_uncompact_size(compacted_set, resolution)
      h3_set = H3Indexes.with_contents(compacted_set)
      size = Bindings::Private.max_uncompact_size(h3_set, compacted_set.size, resolution)
      raise(ArgumentError, "Couldn't estimate size. Invalid resolution?") if size.negative?
      size
    end
Find the maximum uncompacted size of the given set of H3 indexes.

 @param [Array<Integer>] compacted_set An array of valid H3 indexes.
 @param [Integer] resolution The desired resolution to uncompact to.

 @example Find the maximum uncompacted size of the given set.
   h3_set = [
     617700440093229055, 617700440092704767, 617700440100569087, 617700440013012991,
     617700440013275135, 617700440092180479, 617700440091656191, 617700440092966911,
     617700440100831231, 617700440100044799, 617700440101617663, 617700440081956863,
     613196840447246335
   ]
   H3.max_uncompact_size(h3_set, 10)
   133

 @raise [ArgumentError] Given resolution is invalid for h3_set.

 @return [Integer] Maximum size of uncompacted set.