Improved palindrome