Changing almost all dimensions to a referenced value