Removed console.log()s and top/bottom hole fix, because mergeVertices() now does all that.