How did nationalism grow so quickly in the 19th century?