Topological Reconstruction of 3D City Models with preservation of semantics