It is precisely what you propose makes sense . . . which is why the Uniparty does the opposite.
Then you would have to have closed primaries and registration far enough in advance so that they could draw up the districts evenly.
All of which are good ideas.