This question from introduction to modern cryptography book
Show how to find a collision in the Merkle tree construction if t is not fixed. Specifically, show how to find two sets of inputs x1, ..., xt and x1', ..., x2t', such that MTt(x1, ..., xt) =MT2t(x1', ..., x2t').
Can you design an approach to fix the problem and have variable-length collision resistant Merkle tree?