pre-compute the publish channel length
pre-compute the prefix length
improved sse test