lock for read in graph max computation; requires an update to mpi