private static void updateRdeg(HashMap<Integer, Pair> can,
				HashSet<Integer> adj, int ressize) {
			Iterator<Entry<Integer, Pair>> it = can.entrySet().iterator();
			int mindeg = ressize - k_plex + 1;
			while (it.hasNext()) {
				Pair p = it.next().getValue();
				if (adj.contains(p.point))
					p.rdeg++;
				else if (p.rdeg < mindeg) {
					it.remove();
				}
			}
		}