WIP: declare weighted_n_node_samples