Comparing two partitions of non-equal sets of units