For the W deme, the population size remained at 8038 until 4308.8 generations ago, at which point a linear reduction took place until 967.174 generations for size 5681. Afterward, the population saw an exponential increase to 6827 by 193.98. From 193.98 generations ago to today, there's been a linear decrease from 6827 to 1082.
time_units: generations
demes:
  - name: W
    start_time: .inf
    epochs:
      - start_size: 8038
        end_time: 4308.8
      - start_size: 8038
        end_size: 5681
        end_time: 967.174
        size_function: linear
      - start_size: 5681
        end_time: 193.98
        end_size: 6827
        size_function: exponential
      - end_time: 0
        start_size: 6827
        end_size: 1082
        size_function: linear