quantum number part finished, considering moving dimension part to the activespaceiterator class
seems change to activespaceiterator works