Refactor check to add TERs and add case for gaps
Refactor check to add TERs and add case for gaps

AdaptivePELE/AdaptivePELE,AdaptivePELE/AdaptivePELE,AdaptivePELE/AdaptivePELE,AdaptivePELE/AdaptivePELE