Matryoshka trees