ENH: Optimisation of regrid.