use dynamic scheduling in parallel for loops