public static HashSet<Row> collectContainerRows(List<Row> rows, HashSet<Row> containers) {
		for (Row row : rows) {
			if (row.canHaveChildren()) {
				containers.add(row);
				if (row.hasChildren()) {
					collectContainerRows(row.getChildren(), containers);
				}
			}
		}
		return containers;
	}