Change to use compressed bitset.