Parallelize using the parallel for