First attempt to optimize using SSE intrinsics.