window size, incremental search