Use new data type in roi