add sse optimizations