runningkey: implement topN scoring