Change bit counting algorithm
Skeleton routine to link stubs into tracks.