Changed release to r5 and added some OpenMP pragma's