A multilevel analysis of the Lasserre hierarchy