should use less memory when aggregating data table records