Early dino was turkey-sized, social plant-eater: study