refactoring assemble build into build steps