Fix bug when cutting through a vertex. Next step: fix bug when cutting through an edge. Same kind of trick will be used.