two-connected matrix