include double cost in WirelessNumHops code