Minor vector optimizations