recomputed flattenings on grid after the bug fix