Implemented computation for determining unique linkage vector indices.