Simple solution to get rid of gerrymandering: Create a pool of extra mandates, not assigned to a specific district. Distribute them to the parties however needed to make the overall vote proportional.
This way districts still have a representative, but there is no insentive for gerrymandering.
This way districts still have a representative, but there is no insentive for gerrymandering.
This is a commonly known as Overhang seats in MMP: https://en.m.wikipedia.org/wiki/Overhang_seat