don't monkeypatch Array just because Math.max/min are stupid as hell