Converting vector to nodes.