The carbon dioxide is only replaced in the volume behind the mask. If that is not a big volume compared to a full breath (and it isn't), then the carbon dioxide you're breathing in isn't 10%. It's (v_mask * 0.21 * 0.5)/V, where v_mask is the volume behind the mask, and V is the full volume of a breath.