gaia basic bitset implement.