Sequence of captures changes

Do not store full state after capture, but compute pieces layout on
demand.