Extended Localized Algorithm for Connected Dominating Set Formation in Ad Hoc Wireless Networks