Issue #57 : ensure distinct segment (tree) IDs after manually combining sub-forests in distributed computation