algorithm based on Bloom_Filter