+ major improvements of contour detection