paralelization of trace