REF: _cython_agg_blocks
This is effectively an alternative approach to #31616, trying to use a 1-pass approach. 

This does _not_ address the uniqueness problem discussed in #31735.

cc @TomAugspurger @WillAyd 