randomly generate rects and check query times