partials and build optimization