I think this operation can be done more naturally by also concatenating the G arrays in TheoData, so that they don't have to be rebuilt