finishing hcnode and hctree type declarations