I'm not sure wether it is "premature" since fitting of traces will be called a lot of times and the `std::map` isn't actually known for its outstanding performance. And hidden inside a function with some more comments it shouldn't be that hard to read.