add times
draft: get position of the points in rectangular grids