Minimum cuts for making current string as palindrome substring