Hi xld,
Hope you are doing fine.
There is something wrong in the code , The code is deleting without the match.
For example if T1 is 0 and T2 is 0 and T3 is 1 , Then the T1 and T3 is getting deleted and T2 is still present in the Metal sheet.
Where it should happen like T1 and T2 be deleted and T3 still visible.