// Now we limit the number of elements in pathsToMerged to the value specified in the configuration.
// This will not affect the underlying graph, but it does not really matter since all
// elements in that graph are accept-states by construction of pathsToMergedRed and hence
// not be returned.
pathsToMergedRed.limitTo(original.config.getQuestionPathUnionLimit());
fanout = learnt.paths.computePathsSBetween_All(stateLearnt, engine, pathsToMergedRed);
}
SequenceSet pathsToCurrentState = fanout.get(state.mergedVertex);