made surfaceflattener more efficient, especially when shrinking. started thinking about MatrixPainter. SurfaceFlattener still has some off-by-2(?) bugs when growing in size