Remove malloc, memset, .. => original code for "memory opt", but
unnecessary for new algorithm
* Cleanup code ! And use all threads !