Rearranged sequenceGen structure.