Finish quickselect