improvement of contours extraction : 2 contours tracing in parallel