improve window_size tester script