The lifetime of a star depends on its