small fixes and add compiled compute_connectivity_region