modify interval length