-cleanup.
-opt: move binary sort out of range binary-search.