Currently we do all the calculation and then regenerate the result.
To save on memory, we could stop trRouting before we go on the step to generate the result (which can be time consuming).
If we change the way to generate the result, then this will not be useful anymore.