Yes, there won't be any other reference since the tree is being built. `refcheck` should therefore be set to `False`.

Regarding PyArray_Resize, I am not sure you can do it without the gil...