diff --git a/as5013-test/as5013-test.ko b/as5013-test/as5013-test.ko
index 939de5f3fc2c11075f23e8b4dd271a06abf8df8e..b8fed8873c91d41e856b60888d144ff69509804d 100644
--- a/as5013-test/as5013-test.ko
+++ b/as5013-test/as5013-test.ko
@@ -89,8 +89,8 @@ class Header_FTDI(Component):
 
 class Hole(Component):
     pins = [Pin(0,0,circle(0,0,0.01))]
-    vias = [Via(0,0,circle(0,0,.5*2.1/25.4))]
-    tap = circle(0,0,.5*1.9/25.5)
+    vias = [Via(0,0,circle(0,0,.5*3.1/25.4))]
+    tap = circle(0,0,.5*2.9/25.5)
 
 class AS5013(Component):
     #Austrian Microsystems AS5013 2d linear magnetic encoder
@@ -118,7 +118,7 @@ class AS5013(Component):
 
 
 width = 1.1
-height = 1.
+height = 1.2
 pcb = PCB(0,0,width,height,chamfer_distance=.12)
 
 def connectG(pin,dx,dy,width=.014):
@@ -132,7 +132,7 @@ def connectM(pin1,pin2,dx,width=.014):
     pcb.connectD(pin1,[pin1.x+dx,pin1.y],pin2,width=width)
 
 
-xmega = ATxmegaE5(.44,.68,90-45,'Xmega\n8E5')
+xmega = ATxmegaE5(.44,.78,90-45,'Xmega\n8E5')
 pcb += xmega
 
 pdi = TagConnectPDI(xmega.x+.04,xmega.y-.36,180)
@@ -240,7 +240,7 @@ connectS(xmega['PC6'],.03,-.03)
 connectS(xmega['PC7'],.02,-.02)
 
 
-mount_pts = [[hall.x, hall.y+.375],[hall.x,hall.y-.375]]
+mount_pts = [[hall.x, hall.y+12.5/25.4],[hall.x,hall.y-12.5/25.4]]
 
 for p in mount_pts:
     h = Hole(p[0],p[1],0)