Set max for th level