add make_numbered_nodes/3, make_numbered_nodes/4 and tests.