Pmap optimizations