For the X deme, the population size remained at 2958 until 5680.8 generations ago, at which point a exponential growth took place until 4576.0 generations for size 3501. Afterward, the population saw an linear change to 2818 by 3776.54. From 3776.54 generations ago to today, there's been a linear change from 2818 to 8764.
time_units: generations
demes:
  - name: X
    start_time: .inf
    epochs:
      - start_size: 2958
        end_time: 5680.8
      - start_size: 2958
        end_size: 3501
        end_time: 4576.0
        size_function: exponential
      - start_size: 3501
        end_time: 3776.54
        end_size: 2818
        size_function: linear
      - end_time: 0
        start_size: 2818
        end_size: 8764
        size_function: linear