[2306.16815] Computing all-vs-all MEMs in grammar-compressed text