By: ValentinHirschi <valentin.hirschi@gmail.com>
normalize RustRed terminal routings before memoization