Initially, the M deme maintained a population of 6662 until 6529.2 generations ago. From 6529.2 to 5476.8, its size changed exponentially to population size 8873. A exponential reduction ensued, culminating in 5168 individuals by 941.8. Starting from 941.8 generations ago, the population has increased from 5168 to 5822, at a linear rate.
time_units: generations
demes:
  - name: M
    start_time: .inf
    epochs:
      - start_size: 6662
        end_time: 6529.2
      - start_size: 6662
        end_size: 8873
        end_time: 5476.8
        size_function: exponential
      - start_size: 8873
        end_time: 941.8
        end_size: 5168
        size_function: exponential
      - end_time: 0
        start_size: 5168
        end_size: 5822
        size_function: linear