A modular compactification of ℳ1,n from A ∞-structures