Moved code to impHandleTruncatedPortion

Change-Id: Ib6a8367f6e350856fc19f72a9316bfb510b2f614