Our Milky Way galaxy was not always a spiral. Here's how it changed shape