added tuned mpi code