Implementing basis of nodes