Use node type to reduce evalTree time by small amount