Determinants of Main-Sequence Lifetime of Stars