I made a simulation that studies the thermalization of massless particles, assuming isotropic and homogeneous spatial distribution, in 3 dimensions. Namely,
I started with $N$ particles having random distribution in energy $E$ and isotropic directions.
Next, I assumed that they meet at one point (so I drop any spatial coordinates from the exercise) and randomly chose their pairs, assuming the probability of selecting each pair is pair-independent and equal to $2/N(N-1)$.
Then, I generated collision kinematics: I boosted to the CM frame, and generated random polar (assuming that $\cos(\theta)$ is uniformly distributed from -1 to 1, which is true in the case of a constant matrix element of the process) and azimuthal scattering angles (simply from $-\pi$ to $\pi$), and boosted back.
I repeat these steps (now remembering the directions) many times.
I expected the final energy distribution of the particles to follow the scaling $E^{2}\exp[-E/T]$, where $T$ is the effective temperature of the system determined from $N$ and the total energy. $E^{2}$ comes from the Liouville theorem: the density of states in a D-dimensional space is $d^{n}\mathbf{p} \propto E^{n-1}dE$. However, I got $E\exp[-E/T]$. When repeating the same exercise for the 2D case, I got $\exp[-E/T]$ instead of $E\exp[-E/T]$.
So it looks like I missed some important point, which leads to the reduction of the dimensionality by one. What may be the reason for this?
Simulation example
Below, there is an example of the simulation for the 3D case and identical pairing probabilities - the histogram distribution of the initial state (yellow bars), the final state (blue bars), as well as fits of the distributions $E^{n}\exp[-E/T]$ with $n = 0$ (the blue curve), $n = 1$ (the red one), $n = 2$ (the green one). For the initial distribution, I simply took $E^{2}\exp[-E/T]$:
It is clearly visible that the interactions turn the distribution from $E^{2}\exp[-E/T]$ to $E\exp[-E/\tilde{T}]$.
Also, the results do not depend on $N$ or the number of simulated steps. The system quickly falls to this "equilibrium" state, which seems like an intrinsic property of the pairing and interactions.