using parallelization to speed up the trace analysis