How would you?
You would have to know the intent of those drawing the line.
If, for example, you were trying to increase minority districts, you might have to draw a very gerrymandered district if minorities were too spread out. That gerrymander would be more acceptable to liberals but opposed by conservatives as "racial gerrymandering." Is that acceptable redistricting?
Analyses of states with nonpartisan commissions to draw the lines found they often protect incumbents (to give more congressional influence to their state).
My personal opinion is that some gerrymandering is required to give the districts (1) an equal number of residents; (2) partisan and racial/ethnic representation similar to that in the state; (3) maintaining a community of interests.