optimizing uri-nodes