Parallelizes mapping.