This is not a safe way to set displacements. See for instance:
which shows how this should be done with mixed spaces.