The original Java algorithm, developed by The New Maps Project to redraw US Congressional District boundaries.