Behavioral mechanisms involved in reducing competition in bark beetles