length based message duration