Position constraint on segment exhange errors in production and memory