PostgreSql slice store: re-add connected component code