Use tparam not tdata when reallocing params to make clearer.