Move max-data to tdata_load