add more code to heat_mpi