RANK_CNT_BITS
int ranks = (1 << RANK_CNT_BITS(mtr));
ranks, max, (unsigned int)RANK_CNT_BITS(mtr), mtr);