Fixed occ calculation error for dynamic merge-pairs