Build nodes with templates
Fix Conversation.longest