Generalized the size of a state to the needed quantum numbers.