Calculate need for arbitrary connection id