fixed connection of nodes to the terms they represent