Speeding up PVQ using unlikely() and moving first position out of the loop