Method get_bucket_index is added