kstmx is changed in nc file as well.