Now it calculates length when clustering contours.