That both sides do everything they can to gerrymandering is a major reason why politics has gotten so extreme. The other major problem is the racist parts of the voting rights act of 1965 which legally require racially gerrymandered congressional districts.