Add bitset class. Change ChunkMemory class.