Change the swap of the tracers

Now the tracers will only swap if the new one is longer than the old
one.