Beyerdynamic 770 replacement band on M40x?

My M40x’s headband started flaking, which apparently is pretty common. I found some scraps of leather and asked my GF to replace the original pleather. She was able to do it but… let’s just say I have seen better looking seams lol.

I don’t really want to buy those zip-on headband covers from Amazon and would rather replace the headband properly. I found that Beyerdynamics replacement headband is pretty cheap plus it seems it has some padding which would solve the M40x comfort issue for me.

If someone has 770 / 880 / 900, could you please measure the length of the top part of the headband and post it? Alternatively, does anyone know of a goo solution to the M40x headband problem?