Height map doesn't apply proper to outer vertices?

Hi.

I’m using a height map to shape me grid, but outer vertices don’t behave. Does anyone know how to fix it?

image