Completed work for colocation with k-D tree optimisation of separation constraint with gridded data.