get max palindrome substring