Default grid generation function
Use normed residual