Increasing and decreasing intervals