The local border mechanism in grating induction