improve quicksort3