sender window is min(recv window, congestion window)