private int getComponentAlignmentLCM(int allComponentsLCM) {

		if (lastAlignment == 0) {
			return lastAlignment;
		}

		// factor in pack value, which may have been ignored when aligning component
		int alignment = lastAlignment;
		if (packValue > 0 && alignment > packValue) {
			alignment = packValue;
		}
		return DataOrganizationImpl.getLeastCommonMultiple(allComponentsLCM, alignment);
	}
Adjust lastComponent which must be a zero-length bitfield and its associated
groupOffset based upon the adjusted alignment.
@param ordinal component ordinal assignment
@param minimumAlignment minimum alignment of component immediately after
the zero-length component
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/AlignedComponentPacker.java