We keep wanting this, and it's shardwidth-dependent code, and we keep rewriting it. It should be in the shardwidth package.