I'll check this. `std::lower_bound` or `std::equal_range` should also do the job.