Transmitters and receivers' investment to avoid interference: Is there an optimal regime?