added grid_id into mapBuffer