Add non-recursive quicksort. In some instances, processing crashes due to exhausted stack space.