Added vectorized version of traces