DistanceToNearestSurface node not working properly

Currently I am using NVIDIA GeForce GTX 1060 6GB with the latest drivers (version 398.36 from geforce.com)