Stopping: from peripheral to central nuclear collisions at the SPS