Role of long-range shear stresses in the plastic deformation of epitaxial films