Monodromy of fundamental groups and the degeneration of curves