Removed head_node bool as everything has mpicomm.rank now.