public void calcCurrentLength(int minLength, int numopers) {
		minLength += point.getOffset(); // Convert relative length to absolute length
		for (int i = 0; i < numopers; ++i) {
			ConstructState subpoint = point.getSubState(i);
			int sublength = subpoint.getLength() + subpoint.getOffset();
			// Since subpoint.offset is an absolute offset
			// (relative to beginning of instruction) sublength
			// is absolute and must be compared to absolute length
			if (sublength > minLength)
				minLength = sublength;
		}
		point.setLength(minLength - point.getOffset()); // Convert back to relative length
	}
Calculate the length of the current constructor state
assuming all its operands are constructed
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/processors/sleigh/ParserWalker.java