Optimizations on sequencing.