>>16835624
The problem isn't related to the corners/diagonals but the fact that you can't 'remap' and maintain length if a curve has a restricted length that is different than the circle.
Picrel, you could ignore the 'loops' and imagine a loop created with a sinusoidal wave contained in the yellow area and of constant length but of variable frequency and amplitude