Added MPI based solution