def get_start_idx(current_window_idx, window_size):
  """
  assuming the following
  1. all idx starts from 0
  2. end_idx of previous window == start_idx + 1  of the current window.
  """
  return (current_window_idx * window_size)