Parallel version is working, but is less efficient than serial... Luckily serial version is sometimes 10x faster than recursive one