Generalized neighborhood to 3D