finished connectivity_bcast function