Corrected a bug in grid initialization

Too fine for small r.