In RangeEx.map{Min,Max}, require-test moved to just before mapFoldLeft2 because in custom implementations this is checked anyway.