END: outputs centroids as vertices for easier display