docs: static DirectQuickSelectSketch writableWrap(final WritableMemory srcMem, final long seed) {
      final int preambleLongs = extractPreLongs(srcMem);                  //byte 0
      final int lgNomLongs = extractLgNomLongs(srcMem);                   //byte 3
      final int lgArrLongs = extractLgArrLongs(srcMem);                   //byte 4
  
      UpdateSketch.checkUnionQuickSelectFamily(srcMem, preambleLongs, lgNomLongs);
      checkMemIntegrity(srcMem, seed, preambleLongs, lgNomLongs, lgArrLongs);
  
      final int lgRF = extractLgResizeFactor(srcMem);               //byte 0
      final ResizeFactor myRF = ResizeFactor.getRF(lgRF);
      if ((myRF == ResizeFactor.X1)
              && (lgArrLongs != Util.startingSubMultiple(lgNomLongs + 1, myRF, MIN_LG_ARR_LONGS))) {
        insertLgResizeFactor(srcMem, ResizeFactor.X2.lg());
      }
  
      final DirectQuickSelectSketch dqss =
          new DirectQuickSelectSketch(seed, srcMem);
      dqss.hashTableThreshold_ = setHashTableThreshold(lgNomLongs, lgArrLongs);
      return dqss;
    }