How to customize geo_point precision in group by aggregation?

Hello,

How to group documents by geo_point type field taking into account only given a number of digits after the decimal point?

I.e. if we consider as valuable only 6 numbers after decimal point, then

"location": {
  "lat": "10.754764158145036",
   "lon": "106.69103039797061"
},

will be seen as

"location": {
  "lat": "10.754764",
   "lon": "106.691030"
},