expand range of tanh