I think adding the same trimming functionality that we already have in `iecodebook` have would be great!