Add x-y dimension (flag = 1), only for the value of thetae