Assimilation is another mechanism of ascent, where the granite melts its way up into the crust and removes overlying material in this way. This is limited by the amount of thermal energy available, which must be replenished by crystallization of higher-melting minerals in the magma. Thus the magma is melting crustal rock at its roof while simultaneously crystallizing at its base. This results in steady contamination with crustal material as the magma rises. This may not be evident in the major and minor element chemistry, since the minerals most likely to crystallize at the base of the chamber are the same ones that would crystalize anyway, but crustal assimilation is detectable in isotope ratios. Heat loss to the country rock means that ascent by assimilation is limited to distance similar to the height of the magma chamber.