DO NOT MERGE INTO MASTER - PGIA WIP

Limit how many partitions can exist. Reduces the overhead a bit, but
PGIA is still worse than IGIA.

Pushing for safekeeping.

[ci skip]