tweak s-curve function for pressure map