Lightweight gossip-based distribution estimation