private void close(Address address, int[] path) {
		int[] levels = map.get(address);
		if (levels == null) {
			return;
		}
		int levelSize = levels.length;
		int pathSize = 0;
		if (path != null) {
			pathSize = path.length;
		}
		if (levelSize < pathSize + 1) {
			return;
		}
		for (int i = 0; i < pathSize; i++) {
			if (levels[i + 1] == -1) {
				continue;
			}
			if (levels[i + 1] != path[i]) {
				return;
			}
		}
		levels[pathSize] = -1;
		int actualLength = computeActualLength(levels);
		if (actualLength == 0) {
			map.remove(address);
			return;
		}
		int[] newLevels = levels;
		if (actualLength < levelSize) {
			newLevels = new int[actualLength];
			System.arraycopy(levels, 0, newLevels, 0, actualLength);
		}
		map.put(address, newLevels);
	}
Marks the composite at the given address and component path as closed
@param address the address of the composite to close
@param path the component path of the composite to close. Used for
composites inside of other composites.
Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/util/OpenCloseManager.java