Make sure displacements xor inbounds