Fixing bug with seams crossing stencil boundaries

By adding the seam stencil layer.