instead of falling back the global indices of the involved DOFs, use the DOF which has the larger volume associated to it before.