if gain moves a lot, increase lookahead amount