Dislocation dynamics during rate changes