clean up sse code. it's still slow.