It's about points, where formula above is undefined. So we cannot apply it in these points safely. And there are two ways (in this tutorial): apply a mask or set to zero these points. If we not apply the mask, we need to use the formula, which is undefined for border points.