bucket: added rank_at api