Optimize performances of truncate
Clean asm
Store early logs to file
Reduce the number of write()
Add note
init task has the default number of rounds