Decrease window size with depth (take 1)

bench: 8821870
Decrease window size with depth (take 2)

bench: 8416547