Put parallelism level as a global variable, instead of constants all over