remove subscript judgement in quicksort