updated check for adding vert on top of other vert