Until 9497.0 generations ago, the M deme's population was fixed at 6517. From 9497.0 to 6798.22, it underwent a exponential decrease to 4492 individuals. Then, a exponential change brought the count to 7707 by 4014.871. Since then, from 4014.871 generations to the current day, the population has decreased from 7707 to 765 at a linear rate.
time_units: generations
demes:
  - name: M
    start_time: .inf
    epochs:
      - start_size: 6517
        end_time: 9497.0
      - start_size: 6517
        end_size: 4492
        end_time: 6798.22
        size_function: exponential
      - start_size: 4492
        end_time: 4014.871
        end_size: 7707
        size_function: exponential
      - end_time: 0
        start_size: 7707
        end_size: 765
        size_function: linear