finish windows and range query