Homeomorphic meshes in Rd