trim intervals