set rising and falling to zero if there are no zero crossings