gerrymandering is editing the borders for your party’s gain.
If it’s done to be balanced and representive, then it isn’t gerrymandering.
there’s a super simple solution: stop having the ruling party be allowed to draw the lines. Have the whole thing be controlled by ordinary government bureaucrats. No-one elected involved at any point.
then, suddenly, impossible for gerrymandering to exist, outside of criminal interference.