Optimization in dwell length of adi isothermal transformation