chord distance function captures ring