Tensile and compressive force regulation on cell mechanosensing