Fixed tail compression
Update docs