MANTA-67 reorder pair candidte function to allow variable size candidate regions