Creating a large histogram with tree splitting

I was talking about the 1073741822 byte limit.

But I just came across the following post.
So hopefully THnSparse is the answer.

Thanks