if(node is 1 and tick and num_pkts_sent < num_pkts[node])