Micro optimization in vec