Some dinosaurs were already in decline before the big asteroid struck.