Create connectedComponent