if (TTest.testEqualstensorStructure(collectedTerm.collectedItem, split.collectedTerm)) {
//main rountine
UncontractIndicesAndRename uncontractIndicesTransformation =
new UncontractIndicesAndRename(TensorUtils.getAllIndicesNames(split.factoredOut),
collectedTerm.collectedTermIndicesNames.toArray());
split.collectedTerm = uncontractIndicesTransformation.renameIndicesAndBuidKroneckers(split.collectedTerm);
List<Tensor> generatedKroneckers = uncontractIndicesTransformation.getKroneckers();
split.factoredOut.add(generatedKroneckers);
//renaming indices of toCollect tensor