Farthest point between two surface edges

My brep will not close and I am having difficulty in “seeing” the surface edges to identify where the distance might be greater than the set tolerance and thus perhaps remodel that underling curve or some other remedy.

As a corollary, it might also be useful to have a fatherest point calc for two curves.
https://www.designcoding.net/curve-farthest-point/

does this help?
deviation.gh (9.7 KB)