Gravar-mail: Optimal configurations of spatial scale for grid cell firing under noise and uncertainty