Finding largest shadow contour