max version
insert chars to be palindrome
merge ranges