top = -self.grid['y']*(self.pincount[1]-1)/2+self.center['y']