Storing/loading distribution/results in compressed form works now. The tests still fail however.