why do dinosaurs have 500 teeth