Truncate when writing
Rewrite
Added Past peers option
Added len