docs: public static DoublesSketch heapify(final Memory srcMem) {
      if (checkIsCompactMemory(srcMem)) {
        return CompactDoublesSketch.heapify(srcMem);
      }
      return UpdateDoublesSketch.heapify(srcMem);
    }