[dm-era] improve the bloom filter size calculation