Bug fix worm IDs

Fixed a bug when one of the worm IDs have been wrong which was negativly
affecting tesselation