respect build idx in get_node_idx
allow for node(s) removal