I think it would make more sense to use the length of alpha here, rather than the number of registers.  The number of registers is an implementation detail, but the length of alpha definitively indicates the number of steps used.