grid selection tuning.