On the Stepwise Nature of Self-Supervised Learning