Fix for larger strings maxSize