Make the (cosmetic) change to 4-state system, separating RISING and FALLING.