regroup Longest_Palindromic_Substring