Build for pyramid