How to remove buffer cells from CAMx output file?

Hello,

Let’s say I have a CAMx output file. The cell number of the file is 398 X 248 (with buffer cells).

I want to delete buffer cells, i.e. make cell size number 396 X 246 from output files.

Is there any way that can be done?

Any suggestions would be greatly appreciated.
Thanks