add fprintf for debuging tensile failure when h>0