int state, i = 0, length = allFreeArgIndices.length;
IndexGenerator indexGenerator = new IndexGenerator(varIndices);
for (; i < length; ++i) {
type = getType(varIndices.get(i));
state = getRawStateInt(varIndices.get(i));
allFreeVarIndices[i] = setRawState(indexGenerator.generate(type), inverseIndexState(state));
allFreeArgIndices[i] = setRawState(indexGenerator.generate(type), state);
}
int[] allIndices = addAll(allFreeVarIndices, allFreeArgIndices);
SimpleIndices dIndices = IndicesFactory.createSimple(null, allIndices);
SimpleTensor symmetric = simpleTensor("@!@#@##_AS@23@@#", dIndices);