Use pairs and twins to build palindromes.