by building the multilayer layer by layer