Convert tree