Optimizations for Q series