Unnecessary array duplication here.

We could make use of `Enumerable#max` here maybe.