def METHOD_NAME(self, d):
    width, _, _ = d.shapesize()
    # align blocks by the bottom edge
    y_offset = width / 2 * 20
    d.sety(self.y + y_offset)
    d.setx(self.x + 34 * len(self))
    self.append(d)