Adding global constants generation to MPI+OpenMP backend