kernel of topk almost coding complete :P