World Position Offset (vertex position)

I decided to draw mask in another way. I drew five lines, and multiplied them. Every square of a mask perfectly covers each uv shell. But when i when try to move part of a mesh, only one is moving. Then i made a little padding on my uv’s, and it works perfectly. I don’t understand why sometimes mask works and sometimes not.3af9d7db4173999e60a8c83e94323e56ee556de5.jpeg