bitset and swapzero