change data type of dimension