loop over data rather than centers