Implemented an initial version of the truncate modifier