Made truncate ~10 times faster