Removed @useDynLib from merge_pairs