added a macro to connectivity_bcast function