refactor: move pre-computed sequences; now we test the generator algorithm