use sse instead of cosine