creating the offset grid values