Aggregate $lookup and $group takes so long time

A post was split to a new topic: Total size of documents matching pipeline’s $lookup stage exceeds 104857600 bytes