Update yandex_algorithm_infinite.cpp