Extreme value theory, ergodic theory and the boundary between short memory and long memory for stationary stable processes