Supporting two pass data collection (once without, once with sharing).
Sampling of max. sharing hash maps + fixing representation issues.