Debugged function: removeHorizontalSeam().