Look more closely into how gerrymandering happens and you'll see it's not necessarily a good idea for all e.g. black voters in a certain area to be lumped into the same districts, since it might neutralize an "excess majority" that could otherwise change the results on another district.