Add selections to the stack to search.