Until 4070.0502 generations ago, the B deme's population was fixed at 5297. From 4070.0502 to 691.0, it underwent a linear change to 8242 individuals. Then, a exponential decrease brought the count to 7392 by 178.818. Since then, from 178.818 generations to the current day, the population has reduced from 7392 to 5838 at a linear rate.
time_units: generations
demes:
  - name: B
    start_time: .inf
    epochs:
      - start_size: 5297
        end_time: 4070.0502
      - start_size: 5297
        end_size: 8242
        end_time: 691.0
        size_function: linear
      - start_size: 8242
        end_time: 178.818
        end_size: 7392
        size_function: exponential
      - end_time: 0
        start_size: 7392
        end_size: 5838
        size_function: linear