Seperate node and link layers to keep links under nodes