finish longest palindromic substring