adjustment on truncate function
Merge branch 'master' of https://github.com/pianolab/spaghetti-base