Degenerating curves and surfaces: first results