stop tipremove search if max length is surpassed