gird offset test