Add terabyte and petabyte support