Modularized truncate