record degree in nodes_getaddr table, fixed depth condition