For some reason this fails to compile on jenkins, reverting it

Revert "added corresponding methods that do not require to specify the number of threads"

This reverts commit 23c1fc20ace5e1f091f0117c1458c86d4259742b.