optimized c=t case