I am using the Simpson's composite rule for evaluating integrals, this is $O(h^4)$, where $h$ is the step size. We can use the Richardson's trick to improve things (I denote the integral to be evaluated by $f_I$):
$$\frac{16}{15}S(\frac{1}{2}h)-\frac{1}{15}S(h)=f_I+C\frac{16}{15}(\frac{1}{2}h)^4-C\frac{1}{15}h^4+O(h^5)=f_I+O(h^5) $$
Ok, so the order of error improved by one. But yet when I actually run the imrpoved algorithm the error of order always increases by 2 so that it goes towards $1/64$ on each halving, up from $1/16$. Why is this?