In the sentence we are looking at aliquam is an adjective, from aliquis and usually means "some."
Less common is the adverbial use of aliquam, and only there does it mean "somewhat, to some degree" which comes close to "largely."
https://www.perseus.tufts.edu/hopper/morph?l=aliquis&la=la#lexicon
"aliquis, indef. adj., some, any"