How does the Shortlist algorithm work?