added half rise time correction