First step of rolling window implementation