add longest palindromic substring