limit the lookAheadStep