optimize for Intel icc: 1. only keep one OpenMP parallel for directive; 2. add {} to single-line for-loop to avoid ICC Openmp crash