the finish of quickselect,can eliminate the influence of repeat number