It depends on whether your simulation requires material to be periodic over boundaries (i.e., without surface) or a nano-sized structure.
I haven't done any simulations that require thermal conductivity calculations, but if you are simulating the nanostructures with periodic conditions, then keep the box large the edges of the structure should be away from the box; this is a way to avoid interactions of the periodic images.