test: compute max_translations_per_thread based on worker threads number