IS_IN_SET
#define IS_IN_SET(i) (inv[i] < idx && set[inv[i]] == (i))
#define IS_IN_SET(i) (set[(i) >> 3] & idx[(i) & 7])