Update in CollectDomain.

The reduce method was missing (hence CD worked in local scenario,
failing in distributed one in the data was distributed in skewed way).