How can I arrange to only use @threads if the number of iteration is higher than minimum?

Thank you for sharing, but the useful link was removed.