The use of temporally aggregated data on detecting a structural change of a time series process