ergodic measure