smoother diagonal sdf