In the German-English translation pair, with co-indexed words aligned, we would prefer that the preposition an attach to denken, even though the preposition's object Libanon aligns to a direct child of remember.
we would like the grandparentparent-child chain of denken → an → Libanon to align to the parent-child pair of remember → Lebanon.