Fix the search of triplets, increased search range