* Minor optimization: swap instead of assign.