updated length of input variables for temperatur stability index