Added different max_temperatures for different levels