Determine the conditions when a long tail would be an adaptation