Locate those points of zero value just after the local
minimum points. These points of zero value are the beginning
or the end of a step. As the observations rarely hit to zero, the
point of zero value is decided to be the point of transition from
positive to negative.