Only the queue size is hard coded. We can select the parent based on the queue size, get the IP address and then send it to the parent