minimum-window-substring, shorten strategy