improved loop structure

5 jobs for new_los in 2 minutes and 37 seconds
Status Job ID Name Coverage
  Build Docker
passed #543987
build_docker

00:00:14

 
  Test
passed #543990
test_python2_mpi

00:02:02

passed #543988
test_python2_scalar

00:02:02

66.0%
passed #543991
test_python3_mpi

00:02:22

passed #543989
test_python3_scalar

00:01:28