Habitat Distribution in Animal Group