   x = leftX
   dy = settings.fontSize.pin/2 + space
   leftPins = []
+  leftRects = []
   y = -step * left.length/2 + step/2
   for i in left
     if i is '-'

    h = symbol.textWidth(pin.name, 'pin') + space
    x1 = x - dx
    x2 = x + dx
    if y < (h + space) then y = h + space
    x += step
    bottomRects.push
      x1: x1,


  bottomY = symbol.alignToGrid y, 'ceil'

  for r in bottomRects
    r.y1 += bottomY
    r.y2 += bottomY
