code: public CompactSketch<S> getResult() {
      sketch_.trim();
      if (theta_ < sketch_.theta_) {
        sketch_.setThetaLong(theta_);
        sketch_.rebuild();
      }
      return sketch_.compact();
    }
docs: Gets the internal set as a CompactSketch
  @return result of the unions so far