fast pooling with openMP