Separate bucket selection strategy from IBF itself in java