optimising sequence generator
optimising sequence generator