fixed removeVerticalSeam method.