<P> The inner Solar System, the region of the Solar System inside 4 AU, was too warm for volatile molecules like water and methane to condense, so the planetesimals that formed there could only form from compounds with high melting points, such as metals (like iron, nickel, and aluminium) and rocky silicates . These rocky bodies would become the terrestrial planets (Mercury, Venus, Earth, and Mars). These compounds are quite rare in the Universe, comprising only 0.6% of the mass of the nebula, so the terrestrial planets could not grow very large . The terrestrial embryos grew to about 0.05 Earth masses (M) and ceased accumulating matter about 100,000 years after the formation of the Sun; subsequent collisions and mergers between these planet - sized bodies allowed terrestrial planets to grow to their present sizes (see Terrestrial planets below). </P> <P> When the terrestrial planets were forming, they remained immersed in a disk of gas and dust . The gas was partially supported by pressure and so did not orbit the Sun as rapidly as the planets . The resulting drag and, more importantly, gravitational interactions with the surrounding material caused a transfer of angular momentum, and as a result the planets gradually migrated to new orbits . Models show that density and temperature variations in the disk governed this rate of migration, but the net trend was for the inner planets to migrate inward as the disk dissipated, leaving the planets in their current orbits . </P> <P> The giant planets (Jupiter, Saturn, Uranus, and Neptune) formed further out, beyond the frost line, which is the point between the orbits of Mars and Jupiter where the material is cool enough for volatile icy compounds to remain solid . The ices that formed the Jovian planets were more abundant than the metals and silicates that formed the terrestrial planets, allowing the giant planets to grow massive enough to capture hydrogen and helium, the lightest and most abundant elements . Planetesimals beyond the frost line accumulated up to 4 M within about 3 million years . Today, the four giant planets comprise just under 99% of all the mass orbiting the Sun . Theorists believe it is no accident that Jupiter lies just beyond the frost line . Because the frost line accumulated large amounts of water via evaporation from infalling icy material, it created a region of lower pressure that increased the speed of orbiting dust particles and halted their motion toward the Sun . In effect, the frost line acted as a barrier that caused material to accumulate rapidly at ~ 5 AU from the Sun . This excess material coalesced into a large embryo (or core) on the order of 10 M, which began to accumulate an envelope via accretion of gas from the surrounding disc at an ever - increasing rate . Once the envelope mass became about equal to the solid core mass, growth proceeded very rapidly, reaching about 150 Earth masses ~ 10 years thereafter and finally topping out at 318 M. Saturn may owe its substantially lower mass simply to having formed a few million years after Jupiter, when there was less gas available to consume . </P> <P> T Tauri stars like the young Sun have far stronger stellar winds than more stable, older stars . Uranus and Neptune are thought to have formed after Jupiter and Saturn did, when the strong solar wind had blown away much of the disc material . As a result, the planets accumulated little hydrogen and helium--not more than 1 M each . Uranus and Neptune are sometimes referred to as failed cores . The main problem with formation theories for these planets is the timescale of their formation . At the current locations it would have taken millions of years for their cores to accrete . This means that Uranus and Neptune may have formed closer to the Sun--near or even between Jupiter and Saturn--and later migrated or were ejected outward (see Planetary migration below). Motion in the planetesimal era was not all inward toward the Sun; the Stardust sample return from Comet Wild 2 has suggested that materials from the early formation of the Solar System migrated from the warmer inner Solar System to the region of the Kuiper belt . </P>

After jupiter formed how did its orbit change over time
find me the text answering this question