cal_len use Manacher algrithm to get the longest palindrome in the alphabetic text within linear time