add an implementation for bloom filter with memeory limitation