Adding wrapTruncate

Change-Id: I3d16baed42d821e3b9fbbcfeca3b465785dfb9ca