Add constant to control grid search - disabled by default