Define max for th level