Chain collapse can occur concomitantly with the rate-limiting step in protein folding