Thermally-activated motion of a group of dislocations