lock worm head to grid

instead of locking the worm to a grid i just measure the total width of
the head and move the head by that with .