Add code to calculate distance and pick the top from the middle targets.