Fix crash bug with space dependant h-app
Shift the zero point in tanhx_minus_z