currently we use a matrix to store all the snapshots of the states, we should avoid this and simply stream out to binary as needed
currently we use a matrix to store all the snapshots of the states, we should avoid this and simply stream out to binary as needed