Yes, I suppose you have to do this manually, and the procedure you indicated is correct. Probably the boundary conditions are not too critical for the geometry optimization, so it might be easier to use FFT anyway, provided you have enough vacuum above the surface.