docs: protected long getUpperBound(TrieNode currentParent, AtomicLong currentChildren, TrieNode godchildNode, int godchildAdjustment) {
      return Math.min(
        currentParent.getCursorCount() - currentChildren.get(),
        godchildNode.getCursorCount() - godchildAdjustment);
    }