Fixed the stencil size in 3D for hanging nodes. One hanging node per face means 4 neighbors per face in 3d.