Find the Closest Marked Node