optimal size calculation for bloom filters.
fix to compilation problem in BloomFilter
fix to #221