Added vertex mode to eliminate points between the vertexes