spec_max_targets function

Specify targets based on maxima