Style-Chords-Positioning-Max shift above suggestion
Look at the third staff of the attached score at Max shift above 2.00 sp
Quite nicely aligned
Now look how awful it becomes at 2.5
Problem is that 2.5sp if enough for the F to join the G later on the staff, and then suddenly all other chords around the F are again lower.
But the result is ugly.
The algorithm should be smarter so that a greater allowed shift distance keeps chords at least as aligned as a lower distance, not less aligned.
Probable solution for the algorithm would be to consider that "groups" of chords, once aligned at a given distance can't be "broken" at a higher distance and must all go up or stay where they are.