connectivity and connected clusters