Enabling 'basepath' optimizer