A Message is received by the node:1from Node Sender:0at25503769245
The distance between the sender Node 0 and the receiver Node 1 is 33.8929at25503769245
The maximal contention window MaxCw for node 1 is 35 at 25503769245
The minimal contention window MinCw for node 1 is 5 at 25503769245
A message is received by Node number 2at+25503769391.0ns
The distance between the sender Node 0 and the receiver Node 2 is 77.8727at25503769391
The maximal contention window MaxCw for node 2 is 17 at 25503769391
The minimal contention window MinCw for node 2 is 2 at 25503769391
A message is received by Node number 3at+25503769488.0ns
The distance between the sender Node 0 and the receiver Node 3 is 106.931at25503769488
The maximal contention window MaxCw for node 3 is 5 at 25503769488
The minimal contention window MinCw for node 3 is 0 at 25503769488
A DENM is reboradcasted by Node number 1at+51007538490.0ns
A DENM is reboradcasted by Node number 2at+51007538782.0ns
A DENM is reboradcasted by Node number 3at+51008974766.0ns
Seeing that logs about Cw window. Node 3 or less probably node 2 should relay but not node 1. I suspected it is because of the propagation delay and of the fact that node 3 received later. But I cheched and it received only 243ns after node 1 had received. But the difference in the starting window is 5 *slot time = 5*9 micro seconds in ofdm if I am not mistaken.
It seems that although I change the contention window in the ns3 code it is not having any effect or that I am doing it wrongly