A rolling window operation written in Modal.