time_units: generations
demes:
- name: a
  epochs:
    - {start_size: 1, end_time: 100}
    - {start_size: 1, end_size: 2, size_function: almostconstant}