off by one error causing extra undefined vertices