added undocumented  option for more complex manual trimming options.