refactor BloomFilter