addState
Adds a state by checking the difference between current state and previous one.
When adding state it is crucial that old stories that didn't change are not copied to avoid memory waste.
Adds a state by checking the difference between current state and previous one.
When adding state it is crucial that old stories that didn't change are not copied to avoid memory waste.