add max length to tip