Sequence generation scheme