On optimizing CSMA for wide area ad hoc networks.