Fix palindrome order and stop solving faster