List<Tensor> newTos = new ArrayList<>();
while (true) {
if (subsResult == null)
break;
factor = factor.divide(fromFactor);
newTos.add(subsResult.newTo);
content = subsResult.remainder;
subsResult = atomicSubstitute(content, forbidden, iterator);
}
Tensor[] result = new Tensor[newTos.size() + content.indexless.length + 2];