bounds check on high and low temperature