Removing the vacuum layer

Dear All,

I have a layer model consisted of two materials (surface and polymer) plus a vacuum layer on the top. After running the NVT dynamics, I want to remove the vacuum layer to do further calculation. Is there a way to remove the vacuum layer. I appreciate any help.

Thank you in advance.