properly calculate normals when distance = 1