fixng distancetransform3D