Why did railroad companies mass produce cities?