flatten

Flattens the model by merging it with all parents.