cleanup xor logic of select displacement vector