add grid to terrain