Refactored the way unassigned nodes are found and handled

No longer need the _segments API call