Parallelize with mpi