change point data type from <int,int> to <double,double>