Trying random node ordering for density computation.