Extract connectCorners from connectEdges