clean-up code
case where both buffers have no Rg