TextGrid workGrid = new TextGrid(grid.getWidth(), grid.getHeight());
grid.copyCellsTo(cells, workGrid);
if (DEBUG){
System.out.println("Making closed shape from buffer:");
workGrid.printDebug();
}
TextGrid.Cell start = (TextGrid.Cell) cells.getFirst();
if(workGrid.isCorner(start)) shape.addToPoints(makePointForCell(start, workGrid, cellWidth, cellHeight, allRound));
TextGrid.Cell previous = start;