grid sum