Update Sketch::finalizeLine()

- add reduce() in Sketch::finalizeLine()