The Evolution of Urban Density: From Sprawl to Vertical Living