Confined layer amorphous cell energy minimize

Hello, 

I am creating a confined layer polymer box using amorphous cell. Can I use this box directly for me runs without minimizing energy. If I energy minimize using Discover, will the atoms go outside the box in the confined direction ?
Is there a way to minimize keeping the polymer confined ?

Thanks