Your epitaxial layers are polished in a special low-removal process to make them suitable for bonding. The epitaxial defects are removed and the surface roughness is decreased to a bondable level. The removal is very low (e.g. 50 nm) but sufficient to remove epi spikes and undesired wavyness of complex layer structures.