tuning gridfunction