Renamed helper: max=> maxInt