Added the hashtable for checking node coverage
added a distributed average calculation.