Build BEM structure