New Methods for extracting the closed contour, it's more precise