insertion-sort no longer blows the stack