auto resizable bitset and test for it