What was a solution to scarce living/working space in cities during the industrial revolution?