canonical sequences without pagan
sync, lots of random small things
many changes to facilitate hashing truncated sequences