partial implementation for double support
implemented double support on SSE level