Debugging MTT.getFlattenedTree()