finished the cauchy point finding part