code: public final void setLengthForTree(int length) {
      this.length = length;
  
      for (Node child = first; child != null; child = child.next) {
        child.setLengthForTree(length);
      }
    }
docs: Useful to set length of a transpiled node tree to map back to the length of original node.