do not malloc on every stemming operation