Fix for ideal stats and store degree dists