Fix the synthesis data structure
Inspect the grid data structure
Also clean the synthetic mark