Segregation tendency of Heusler alloys