DistanceStencil working