use private ip lengths to determine num of nodes