optimization of the lookahead solver!