( ( As ( ( a byproduct ) ( of ( ( the ( constant monitoring ) ) ( of ( hundreds ( of ( millions ( of stars ) ) ) ) ) ) ) ) ) ( , ( ( ( ( ( ( ( the ( largest catalogs ) ) ( of ( variable stars ) ) ) ( were constructed ) ) , ) and ) ( ( ( the ( first exoplanets ) ) ( discovered ( using ( the ( microlensing technique ) ) ) ) ) ( were detected ) ) ) . ) ) )
(ROOT (S (PP (IN As) (NP (NP (DT a) (NN byproduct)) (PP (IN of) (NP (NP (DT the) (JJ constant) (NN monitoring)) (PP (IN of) (NP (NP (NNS hundreds)) (PP (IN of) (NP (NP (NNS millions)) (PP (IN of) (NP (NNS stars))))))))))) (, ,) (S (NP (NP (DT the) (JJS largest) (NNS catalogs)) (PP (IN of) (NP (JJ variable) (NNS stars)))) (VP (VBD were) (VP (VBN constructed)))) (, ,) (CC and) (S (NP (NP (DT the) (JJ first) (NNS exoplanets)) (VP (VBN discovered) (S (VP (VBG using) (NP (DT the) (VBG microlensing) (NN technique)))))) (VP (VBD were) (VP (VBN detected)))) (. .)))
As a byproduct of the constant monitoring of hundreds of millions of stars, the largest catalogs of variable stars were constructed, and the first exoplanets discovered using the microlensing technique were detected.
(ROOT (S (NP (DT A) (PRN (-LRB- -LRB-) (NP (NN n)) (-RRB- -RRB-)) (NN exoplanet)) (VP (VBZ is) (ADVP (RB often)) (VP (VBN discovered) (SBAR (IN because) (S (NP (PRP it)) (VP (VBZ causes) (NP (DT a) (NN star) (S (VP (VP (TO to) (VP (VB move))) (CC or) (VP (TO to) (VP (VB dim))))))))))) (. .)))