Factor our argmin from findVerticalSeam