Displacement material issue

Working on a world space displacement material for a cube, but the geometry/vertexes split and are no longer connected. What’s the fix? cube is 768 triangles and not just 6 quads. Thanks.

Are you sure the edges aren’t split in the mesh to begin with?