added stopifnot to truncator mungebit