A node protocol to build tree structures