But in general we'll have a 500 pixel by 500 pixel image and the mask is just three pixel so we only have to worry about this phenomena at the borders of the image which are not small, which are small so we no need to worry about it. 