make addVertex append before the closing point