Tiny ancestor of king of the dinosaurs discovered