Tag wellbore trajectory optimization