Nuclear energy functional with a surface-peaked effective mass: global properties