System.arraycopy(boxes, 0, chull, 0, 8);
int npts = makeConvexHull(chull, 8);
gp.moveTo(chull[0].x, chull[0].y);
for(int n=1; n<npts; n++)
gp.lineTo(chull[n].x, chull[n].y);
gp.closePath();
} else {
// Merge all previous areas
mergeAreas(shape, areas, nAreas);
nAreas = 0; // Start fresh...