Get rid of unnecessarily complex MAXSTR calculation.