What was a consequence of the rapid growth of cities in the late 1800s?