Solutions for curtailing gerrymandering could include artificial intelligence