Could you please specify the exact location in the codebase where the grid search strategy described in the paper is implemented? Thank you.