[tr2]: Added truncate lib