parallel quicksort with scan primitives