StructureOfIndices currentStructure = node.getIndicesTypeStructureAndName().getStructure()[0];
for (IndexType type : insertionRule.indicesAllowedToOmit)
if (currentStructure.getStates(type).size() == 0) {
ByteBackedBitArray originalStates = originalStructure.getStates(type);
if (originalStates != null) {
outerIndices.upper[type.getType()] = originalStates.bitCount();
outerIndices.lower[type.getType()] = originalStates.size() - outerIndices.upper[type.getType()];
} else {
outerIndices.upper[type.getType()] = outerIndices.lower[type.getType()]
= originalStructure.typeCount(type.getType()) / 2;
}