docs: public static int getValueDisplaySize(int numBytes) {
          if (numBytes < MIN_SERIALIZED_LENGTH) {
              throw new IllegalArgumentException("Cannot compute max display size for a GEOGRAPHY value of size "
                      + numBytes + " bytes, since minimum allowed size is " + MIN_SERIALIZED_LENGTH);
          }
  
          // Vertices will dominate the WKT output, so compute the maximum
          // number of vertices given the number of bytes.  This will be a polygon
          // with just one loop.
          int numBytesUsedForVertices = numBytes;
          numBytesUsedForVertices -= polygonOverheadInBytes();
          numBytesUsedForVertices -= loopOverheadInBytes();
  
          int numVertices = numBytesUsedForVertices / 24;
  
          // display size will be
          // "POLYGON (())" [12 bytes]
          // plus the number of bytes used by vertices:
          // "-180.123456789012 -90.123456789012, " [max of 36 bytes per vertex]
          return 12 + 36 * numVertices;
      }