matrix selected nodes only