We find here another (not of the CROC-type) compactification of the Kontsevich spaces K(m,n). This compactification is a Stasheff-type compactification, in particular, it is exactly the Stasheff compactification when n = 1 or m = 1. The boundary strata of this compactification are products of the spaces K(m, n) and of the Stasheff polyhedra. Then we construct a dg Lie algebra naturally associat...