optimizing the build process