WIP: smoothsort, small changes.