class max coherence selection