only parallelize if sufficient number of iterations.