Fixed problems with parallel() on sortAndTraverseGrid