use new SizedData from trbase and remove automatic cast.