A card goes to its foundation by itself once no other card could ever need it: aces and twos, then any card whose two lower cards of the other colour are home.