Optimize BundleConfig