MultiLayer Compressed Counting Bloom Filters/ Rank-Indexed Hashing: A Compact Construction of Bloom Filters and Variants