Text this: An extended partitioning technique to transform trees into single-row networks