Using the halfway vector for improved performance