do findVerticalSeam method.