The deme of M kept its population at 8215 until 6834.0 generations ago, when a linear reduction ensued until 1803.6, to size 4588. Subsequently, a linear change changed the numbers to 9768 individuals by 1445.4591. Starting from 1445.4591, the population has seen a change from 9768 to 1236 at a exponential pace, continuing to this day.
time_units: generations
demes:
  - name: M
    start_time: .inf
    epochs:
      - start_size: 8215
        end_time: 6834.0
      - start_size: 8215
        end_size: 4588
        end_time: 1803.6
        size_function: linear
      - start_size: 4588
        end_time: 1445.4591
        end_size: 9768
        size_function: linear
      - end_time: 0
        start_size: 9768
        end_size: 1236
        size_function: exponential