Z-fighting problem

When the inner object is slightly bigger than outer, I see Z-Fighting. I tried to put objects on separate layers, but obviously it doesn't help.
Thanks.