global max for maps