Let $X$ be a projective surface, let $D$ be a curve on $X$ viewed as a Cartier divisor. Let $P$ be a point on $D$, and let $\pi: \tilde{X} \to X$ be the blow up $X$ at $P$ with exceptional divisor $E$.
We know that $\pi^*D.E=0$ and $E^2=-1$. For sufficiently large integer $N$, consider the dimensions of $H^0(X,\mathcal{O}_X(N\pi^*D)),H^0(X,\mathcal{O}_X(N(\pi^*D-E)))$ and $H^0(X,\mathcal{O}_X(N(\pi^*D+E)))$. Using asymptotic Riemann-Roch, I get:
$h^0(X,\mathcal{O}_X(N\pi^*D))=N^2\pi^*D^2/2 + O(N)$
$h^0(X,\mathcal{O}_X(N(\pi^*D-E)))=h^0(X,\mathcal{O}_X(N(\pi^*D+E)))=N^2(\pi^*D^2-1)/2 + O(N)$.
That confuses me, since $E$ being effective, I should expect $$H^0(X,\mathcal{O}_X(N(\pi^*D-E))) \subset H^0(X,\mathcal{O}_X(N\pi^*D)) \subset H^0(X,\mathcal{O}_X(N(\pi^*D+E))).$$ But this contradicts the dimension count. Where I have things wrong?
Any comment is appreciated!