handled the case when maximum exit rate is zero.