Tesselator rewrite