Change #define bit(a) 1 << (a)