Add feature: auto-connect required number of nodes for measurement