This creates a tree with one base and 2^(n+1) branch tips. I wouldn't go much beyond 8 for the tree parameter.
The author hasn't provided the model origin yet.