keep argMin() and argMax() the same, put slop in bounds check
(#569)