Speeding up nbt_PhaseLocking