Slightly faster pcReverse

Improves @mind04 original code to work faster.