try to define R in the range of (0,1)