make distribution immutable now that it contains mutable counters