more efficient pair completeness calculation