[2409.00605] Average-case optimization analysis for distributed consensus algorithms on regular graphs