This optimisation could fail if max and min changed at the same time in such a way that `max+''+min` stayed the same:

```
22 + '' + 23 == '2223'
2 + '' + 223 == '2223'
```
Admittedly, this is a highly unusual and contrived case but the performance improvement is not going to be so great (if at all) to warrant it.