nodetypes optimization